/**
 * Project Name:九色鹿
 * File Name:EnglishNameUtil.java
 * Package Name:com.fxp.project.jiuselu.commons.name.en
 * Date:2020年04月06日 11:27
 * Copyright (c) 2020, Jason.Wang All Rights Reserved.
 */
package com.fxp.project.jiuselu.commons.name.en;


import com.fxp.project.jiuselu.commons.name.Language;

/**
 * ClassName:EnglishNameUtil<br/>
 * Function: 英文名称的获取工具类<br/>
 * Date:2020年04月06日 11:27<br/>
 *
 * @author Jason.Wang
 * @version 1.0.0.0
 * @see
 * @since JDK1.8
 */
public class EnglishNameUtil {
    private static class Holder {
        private static final EnglishName NAME = new EnglishName();
    }

    public static String getFullName() {
        return Holder.NAME.getFullName();
    }

    public static String getSimpleName() {
        return Holder.NAME.getSimpleName();
    }

    /**
     * getSplitName: 数组，[姓，名]<br/>
     *
     * @return
     * @author Jason.Wang
     * @createTime 2020/4/6 11:27
     */
    public static String[] getSplitName() {
        return Holder.NAME.getSplitName();
    }

    /**
     * getTranslateName: 获取转换后的名称<br/>
     *
     * @param language
     * @return
     * @author Jason.Wang
     * @createTime 2020/4/6 11:39
     */
    public static String getTranslateName(Language language) {
        return Holder.NAME.getTranslateName(language);
    }
}
